package com.example.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WeldingListMapper {
	
	public Integer select_WeldingList_MAXId_ST();// 查询最大ID  

	public Integer select_WeldingList_MAXId_PI();// 查询最大ID  

	public Integer select_WeldingList_MAXId_MA();// 查询最大ID 

	
	public List<String> select_WeldingList_List_ST(int projectId);// 查询相关信息用来去重

	public List<String> select_WeldingList_List_PI(int projectId);// 查询相关信息用来去重

	public List<String> select_WeldingList_List_MA(int projectId);// 查询相关信息用来去重

	
	public int insert_WeldingList_ST(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id,@Param("projectNumber")Integer projectNumber);

	public int insert_WeldingList_PERM_ST(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id);

	
	public int insert_WeldingList_PI(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id,@Param("projectNumber")Integer projectNumber);

	public int insert_WeldingList_PERM_PI(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id);

	
	public int insert_WeldingList_MA(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id,@Param("projectNumber")Integer projectNumber);

	public int insert_WeldingList_PERM_MA(@Param("list") List<Map<String, String>> list, @Param("Id") Integer Id);

	
	
}
